![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@govuk-frederic/arrow-left
Advanced tools
import ArrowLeft from '@govuk-frederic/arrow-left';
Simple
<ArrowLeft />
Dark background
import { GREY_1 } from 'govuk-colours';
const darkBackground = {
backgroundColor: GREY_1,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={darkBackground}>
<ArrowLeft width={28} fill="white" />
</div>
Light background
import { WHITE } from 'govuk-colours';
const lightBackground = {
backgroundColor: WHITE,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={lightBackground}>
<ArrowLeft width={28} fill="black" />
</div>
Dark background & title
import { GREY_1 } from 'govuk-colours';
const darkBackground = {
backgroundColor: GREY_1,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={darkBackground}>
<ArrowLeft width={28} fill="white" color="white">
Back to previous page
</ArrowLeft>
</div>
Light background & title
import { WHITE } from 'govuk-colours';
const lightBackground = {
backgroundColor: WHITE,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={lightBackground}>
<ArrowLeft width={28} fill="black">
Back to previous page
</ArrowLeft>
</div>
Wrapped with anchor with title text
import { WHITE } from 'govuk-colours';
const lightBackground = {
backgroundColor: WHITE,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={lightBackground}>
<a href="http://example.com" style={{ color: '#005CA7' }}>
<ArrowLeft width={28} fill="black">
Back to previous page
</ArrowLeft>
</a>
</div>
Wrapped with anchor with title text on dark background
import { GREY_1 } from 'govuk-colours';
const darkBackground = {
backgroundColor: GREY_1,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={darkBackground}>
<a href="http://example.com" style={{ color: 'white' }}>
<ArrowLeft width={28} fill="white">
Back to previous page
</ArrowLeft>
</a>
</div>
Passing down onClick with title text
import { GREY_1 } from 'govuk-colours';
const darkBackground = {
backgroundColor: GREY_1,
minHeight: '320px',
minWidth: '320px',
padding: '20px',
};
<div style={darkBackground}>
<ArrowLeft width={28} fill="white" onClick={action('clicked arrow button')}>
Back to previous page
</ArrowLeft>
</div>
Prop | Required | Default | Type | Description |
---|---|---|---|---|
children | undefined | string | ||
color | undefined | string | ||
fill | BLUE | string | ||
onClick | undefined | func | ||
width | 20 | number |
FAQs
Left-pointing arrow icon inside circle, with customisable color, width and fill.
The npm package @govuk-frederic/arrow-left receives a total of 2 weekly downloads. As such, @govuk-frederic/arrow-left popularity was classified as not popular.
We found that @govuk-frederic/arrow-left demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.